public class Traning05 {
    public static void main(String[] args) {
        char[] s = {'序','顺','符','字','组','数','倒','颠'};
        //TODO 使用循环数组中字符的顺序完成反转
        for (int i=0; i<s.length/2;i++) {
            char c =s[i];
            System.out.println(s.length-i-1);
            s[i] = s[s.length-i-1];
            s[s.length-i-1]=c;
        }
        System.out.println(s);
    }
}
